#!/bin/bash

export BK_ENV="testing"

if [ "${1}" = "-c" ]
then
    coverage run --source='.' manage.py test
    # coverage report -m
    # coverage report -m --omit="*/migrations/*,*/test*,urls.py,wsgi.py,*/urls.py,settings.py,manage.py,__init__.py,*/__init__.py,*admin.py,*/constants.py,conf/*"
    coverage report --omit="*/migrations/*,*/test*,urls.py,wsgi.py,*/urls.py,settings.py,manage.py,__init__.py,*/__init__.py,*admin.py,*/constants.py,conf/*"
else
    python manage.py test
fi



